﻿{extend name="layout/main-block" /}
{block name="sub-wrapper"}
<!--内容容器-->
<section id="sub-wrapper" class="full-screen page-agentReport">

    <div id="sub-content">
        <div id="sub-header">
            <div class="sub-title">
                <h3><i class="fa fa-rocket"></i>代理商&#45;&#45;代理商报告</h3>
            </div>
        </div>
        <div id="sub-report">

        </div>
        <div id="sub-header-second">
            <div class="sub-title">
                <h3><i class="fa fa-rocket"></i>代理商--报表明细</h3>
            </div>
        </div>

        <div class="table-responsive data-table">
            <table class="table table-striped table-bordered table-hover">
                <thead>
                <tr>
                    <!--<th class="text-center" width="34px">
                        <input type="checkbox" />
                    </th>-->
                    <th width="60px">序号</th>
                    <th>设备SN</th>
                    <th>关联账户</th>
                    <th>代理商</th>
                    <!--<th>SIM卡</th>-->
                    <th>区域</th>
                    <th width="160px">激活时间</th>
                </tr>
                </thead>
                <tbody>
                {volist name="report" id="v" empty="$empty" }
                <tr>
                    <!--<td class="text-center">
                        <input type="checkbox" />
                    </td>-->
                    <td>{$v.id}</td>
                    <td>{$v.sn}</td>
                    <td>{$v.username}</td>
                    <td>{$v.name}</td>
                   <!-- <td>{--$--v.SIM}</td>-->
                    <td>{$v.regname}</td>
                    <td>{$v.created_at}</td>
                </tr>
                {/volist}
                </tbody>
                <tfoot>
                <tr>
                    <td colspan="3" class="">
                        {$page}
                        <!--<ul class="pagination">
                            <li>
                                <a href="#" aria-label="Previous">
                                    <span aria-hidden="true">&laquo;</span>
                                </a>
                            </li>
                            <li class="active"><a href="#">1</a></li>
                            <li><a href="#">2</a></li>
                            <li><a href="#">3</a></li>
                            <li><a href="#">4</a></li>
                            <li><a href="#">5</a></li>
                            <li><a href="#">...</a></li>
                            <li><a href="#">999</a></li>
                            <li>
                                <a href="#" aria-label="Next">
                                    <span aria-hidden="true">&raquo;</span>
                                </a>
                            </li>
                        </ul>-->
                    </td>
                    <td colspan="2" class="text-center">
                        <div class="table-summary">
                            <div class="input-group">
                                <div class="input-group-addon">到第</div>
                                <input type="text" class="form-control" id="goto" placeholder="" style="width:40px;">
                                <div class="input-group-addon">页</div>
                                <span class="input-group-btn">
                                                <a class="btn btn-primary" data-currentPage="{$currentPage}" data-lastPage="{$lastPage}" id="gotoPage"><i class="fa fa-arrow-right"></i>确定</a>
                                            </span>
                            </div>
                        </div>
                    </td>
                    <td colspan="1" class="text-center">
                        共<span id="total-record" class="text-success fa-2x"> {$count} </span>条记录
                    </td>
                </tr>
                </tfoot>
            </table>
        </div>
    </div>
</section>
{/block}
{/block}